package com.example.rentalclearing.service;

import com.example.rentalclearing.entity.RentalPaymentSchedule;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 租金计划表 服务类
 * </p>
 *
 * @author sjf
 * @since 2025-10-17
 */
public interface IRentalPaymentScheduleService extends IService<RentalPaymentSchedule> {

    /**
     * 根据收款日期查询未全部核销的租金计划
     *
     * @param date
     * @param pageNum
     * @param pageSize
     * @return
     */
    List<RentalPaymentSchedule> selectUnwrittenByDateBefore(LocalDate date, int pageNum, int pageSize);

}